package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwPrt;
import com.tjmc.tiomscore.model.TranPtnHwPrtExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwPrtMapper extends TranPtnHwSuperMapper<TranPtnHwPrt> {
    long countByExample(TranPtnHwPrtExample example);

    int deleteByExample(TranPtnHwPrtExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwPrt record);

    int insertSelective(TranPtnHwPrt record);

    List<TranPtnHwPrt> selectByExample(TranPtnHwPrtExample example);

    TranPtnHwPrt selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwPrt record, @Param("example") TranPtnHwPrtExample example);

    int updateByExample(@Param("record") TranPtnHwPrt record, @Param("example") TranPtnHwPrtExample example);

    int updateByPrimaryKeySelective(TranPtnHwPrt record);

    int updateByPrimaryKey(TranPtnHwPrt record);
}